class VoiceAssistant:
    """语音助手子类 - 专用于语音交互"""

    def __init__(self, assistant_id, name, version, online, score, voice_types=None, response_speed="标准"):
        super().__init__(assistant_id, name, "语音助手", version, online, score)
        self.voice_types = voice_types or ["男声", "女声", "童声"]  # 语音类型
        self.response_speed = response_speed  # 响应速度

    def __str__(self):
        base_info = super().__str__()
        return f"{base_info} | 语音类型: {', '.join(self.voice_types)} | 响应速度: {self.response_speed}"